/*
 * response_body_view.h
 * This file is part of gURL
 *
 * Copyright (C) 2014 - Aleksey Konovalov
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Library General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU Library General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef RESPONSE_BODY_VIEW_H
#define RESPONSE_BODY_VIEW_H

#include <gtk/gtk.h>
#include "session.h"

#define RESPONSE_BODY_VIEW_TYPE           (response_body_view_get_type())
#define RESPONSE_BODY_VIEW(obj)           (G_TYPE_CHECK_INSTANCE_CAST((obj), RESPONSE_BODY_VIEW_TYPE, ResponseBodyView))
#define RESPONSE_BODY_VIEW_CLASS(cl)      (G_TYPE_CHECK_CLASS_CAST((cl), RESPONSE_BODY_VIEW_TYPE, ResponseBodyViewClass))
#define IS_RESPONSE_BODY_VIEW(obj)        (G_TYPE_CHECK_INSTANCE_TYPE((obj), RESPONSE_BODY_VIEW_TYPE))
#define IS_RESPONSE_BODY_VIEW_CLASS(cl)   (G_TYPE_CHECK_CLASS_TYPE((cl), RESPONSE_BODY_VIEW_TYPE))
#define RESPONSE_BODY_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), RESPONSE_BODY_VIEW_TYPE, ResponseBodyViewClass))

typedef struct _ResponseBodyView ResponseBodyView;
typedef struct _ResponseBodyViewClass ResponseBodyViewClass;

GType response_body_view_get_type();

void response_body_view_change_session(ResponseBodyView* self, Session* session);
GtkWidget* response_body_view_new();

#endif /* RESPONSE_BODY_VIEW_H */
